﻿using System; 
using System.Text;
using System.Collections.Generic; 
using System.Data;
namespace Sasc.PV.DAL
{
	[Serializable]
    public partial class PvZDFanGong : IPvGongXuFanGongModel<ZhuDingGongXuTarget>
	{		
        
        #region Ctor
        public PvZDFanGong()
        {
            _id = (long)0;
            _note = "";
            _reason = "";
            _gongxurecid = (long)0;
            _lastupdatedby = "";
            _lastupdateddate = DbContants.DefaultDateTime;
            _fromgongxuname = "";
            _togongxuname = "";
            _fangongversion = (int)0;
            _createdby = "";
            _createddate = DbContants.DefaultDateTime;
            _ganguobianhao = "";
            _xiaodingbianhao = "";
       }
        #endregion
        
        #region CreateTarget
        public ZhuDingGongXuTarget CreateTarget()
        {
            return new ZhuDingGongXuTarget
            {
                GanGuoBianHao = GanGuoBianHao,
                GanGuoBianHaoType = GongXuTargetDataType.Required,
                XiaoDingBianHao = XiaoDingBianHao,
                XiaoDingBianHaoType = GongXuTargetDataType.Optional
            };
        }
        #endregion
	}
}